package com.jsu.information.service;

import org.example.model.common.dtos.ResponseResult;
import org.example.model.information.pojo.Information;

import java.util.List;

public interface InformationService {
    ResponseResult getUrl(Integer infoId);

    ResponseResult addViews(Integer informationId);

    ResponseResult addLikes(Integer informationId,Integer userId);

    ResponseResult getUserLikes(Integer informationId, Integer userId);

    ResponseResult delUserLikes(Integer informationId, Integer userId);

    ResponseResult addInfo(Information information);

    ResponseResult delInfo(Integer informationId);

    ResponseResult getAllInfos(List<Integer> informationId);
}
